﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WinForm
{
    [Serializable]
    public partial class Accordion : UserControl
    {
        public int numberofmenu { get; set; }

        private List<AccordionCollection> _AMenuitem = new List<AccordionCollection>();

        
        //[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
        
        public List<AccordionCollection> AMenuitem {
            get { return _AMenuitem; }
            set { _AMenuitem = value; }
        }//= new List<AccordionCollection>();

        
        //public List<AccordionCollection> MenuItem
        //{
        //    get { return _menuitem; }
        //    set { _menuitem = value; }
        //}


        public Accordion()
        {
            InitializeComponent();
            //_AMenuitem = new List<AccordionCollection>();
        }


        protected override void OnCreateControl()
        {
            //base.OnCreateControl();
        }
    }
}
